
//
//  JYJHotDoorSeachCollectionViewCell.m
//  HappyListen
//
//  Created by 冀永金 on 16/9/10.
//  Copyright © 2016年 冀永金. All rights reserved.
//

#import "JYJHotDoorSeachCollectionViewCell.h"

@implementation JYJHotDoorSeachCollectionViewCell
- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        self.titleLabel = [[BaseLabel alloc]init];
        [self.contentView addSubview:_titleLabel];
        _titleLabel.textColor = [UIColor colorWithRed:0.58 green:0.63 blue:0.69 alpha:1.00];
        _titleLabel.textAlignment = 1;
        [_titleLabel.layer setBorderColor:[UIColor colorWithRed:0.58 green:0.63 blue:0.69 alpha:1.00].CGColor];
        [_titleLabel.layer setBorderWidth:1];
        _titleLabel.layer.cornerRadius = 10;
        _titleLabel.clipsToBounds = YES;
    }
    return self;
}
- (void)layoutSubviews {
    [super layoutSubviews];
    self.titleLabel.frame = self.contentView.bounds;
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
